package com.andy.dao.entity;

import java.util.Date;

public class TOrder {

    private Integer id;

    private Integer userId;

    private Double amount;

    private Date orderedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getOrderedTime() {
        return orderedTime;
    }

    public void setOrderedTime(Date orderedTime) {
        this.orderedTime = orderedTime;
    }

    @Override
    public String toString() {
        return "TOrder{" +
                "id=" + id +
                ", userId=" + userId +
                ", amount=" + amount +
                ", orderedTime=" + orderedTime +
                '}';
    }
}
